<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="security" uri="http://www.springframework.org/security/tags" %>

<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/reset.css" />
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/styles.css" />

<!-- header section -->
	<div class="header-area">
		<a href="index.html" class="logo">&nbsp;</a>
		
		<form:form action="/pub/search/course" commandName="headerSearchForm" method="GET" id="headerSearch">
		
		<input name="src" id="src" type="hidden" value="hsearch"/>
		<input name="stype" id="stype" type="hidden" value="olc"/>
				
		
		
		<div class="search-box">
			<div class="input"><div class="selbox-search">
				<div class="selactive"><span class="sel-val">Courses</span><span class="menu-sep"></span></div>
				<ul class="search-list">
					<li><a href="javascript:setDropDownValue('olc');">Courses</a></li>
					<li><a href="javascript:goToLogin();">Institutes</a></li>
					<li class="last"><a href="javascript:goToLogin();">Trainer</a></li>
				</ul>
			</div>
			<input name="keyword" id="keyword" type="text" /><!-- <div class="ad-search">&nbsp;</div> --><a href="" class="advance-search">Advance Search</a></div>
			<div class="submit"><input type="submit" onClick="javascript:submitHeaderForm();" /></div>
		</div>		
		
		</form:form>
		
		
		<ul class="nav">			
			<li><a href="">Home</a></li>
			<li><a href="about-us.html">About Us</a></li>
			<li class="last"><a href="contact-us.html">Contact Us</a></li>
			<li class="welcome last">Welcome <span><security:authentication property="principal.fullName"/>!</span></li>
			<li class="last"><a href="${pageContext.request.contextPath}/j_spring_security_logout">Logout</a></li>
		</ul>
	</div>
	<!-- header section -->



